
public class LeapYear {

    public boolean checkIfGivenYearIsLeap(int givenYear) {
     return (givenYear%4 == 0);
    }


    public boolean checkIfYearDivisibleBy100(int givenYear) {
     if(givenYear%400 == 0){
         if(givenYear%100 == 0)
             return true;
         else
             return false;
     }
        else
         return false;
    }
}
